import { get, post } from './http'

//竞技彩发起方案
export const jcast = p => post('/phpt/t.phpx', p);

//首页banner
export const indexBannerList = p => get('/dedeinc/4g_sybner.json', p);
//首页公告
export const indexNotice = p => get('/discovery/notice/index.json', p);
//getExplainList热门解说
export const rmJs = p => get('/shnongc/getHomePageJS.php', p);
//copyJczq跟单
export const copyJczq = p => post('/phpt/copyJczqs.phpx', p);
//查询开奖公告
export const aopencode = p =>get('/cpdata/game/aopencode.json',p)
//每日竞彩 足球
export const dailycontestJczq = p =>get('/discovery/forecast/jczq/index.json',p)
//每日竞彩 篮球
export const dailycontestJclq = p =>get('/discovery/forecast/jclq/index.json',p)
//新闻资讯 足球
export const newZq = p =>get('/discovery/news/football/index.json',p)
//新闻资讯 篮球
export const newLq = p =>get('/discovery/news/basketball/index.json',p)
//新闻资讯 数字彩
export const newSzc = p =>get('/discovery/news/szc/index.json',p)
//快频彩详情 banner 
export const kpcBannerList = p =>get('/dedeinc/h5_ssqimages.json',p)

//login
//登录
export const login = p =>post('/phpu/login.phpx',p)
//退出登录
export const loginout = p =>get('/phpu/lout.phpx',p)
//忘记密码
export const checkAccount = p =>post('/phpu/checkAccount.phpx',p)
//忘记密码 发送验证码
export const usergetpwd = p =>post('/phpu/usergetpwd.phpx',p)
//忘记密码 提交新密码
export const modifypwdByPhones = p =>post('/phpu/modifypwdByPhones.phpx',p)
//注册 发送验证码
export const mobregzym = p =>post('/phpu/mobregzym.phpx',p)
//注册 手机号注册
export const mobreg = p =>post('/phpu/mobreg.phpx',p)
//实名认证
export const mui = p =>post('/phpu/mui.phpx',p)
//修改手机号 发送验证码
export const ubind = p =>post('/phpu/ubind.phpx',p)
//修改手机号 判断验证码正确与否
export const ubindck = p =>post('/phpu/ubindck.phpx',p)

//个人中心 设置昵称
export const addUserNickname = p =>get('/phpu/addUserNickname.phpx',p)
//个人中心 上传头像
export const uploadImg = p =>post('/phpu/uploadImg.phpx',p)
//个人中心 
export const qp = p =>post('/phpu/qp.phpx',p)
//个人中心 提现
export const drawmoney = p =>post('/phpu/drawmoney.phpx',p)
//待支付订单列表
export const explainZfList = p =>get('/phpt/explainZfList.phpx',p)
//待支付订单列表 余额购买解说详情
export const buyExplain = p =>get('/phpt/buyExplain.phpx',p)
//待支付订单列表 直付购买解说详情
export const zfExplainOrder = p =>get('/phpt/zfExplainOrder.phpx',p)
//待支付订单列表 直付购买解说详情
export const payMoneyOrder = p =>get('/phpt/payMoneyOrder.phpx',p)
//投注记录
export const webTouZhus = p =>get('/phpu/webTouZhus.phpx',p)
//投注记录 跟单数据接口
export const webFollowRecord = p =>post('/phpu/webFollowRecord.phpx',p)
//积分商城 获奖跑马灯
export const getCouponList = p =>get('/cpdata/point/getCouponList.json',p)
//积分商城 看剩余积分和剩余次数
export const getCountAndPoint = p =>get('/phpt/getCountAndPoint.phpx',p)
//积分商城 抽奖请求
export const getGiftByPoint = p =>get('/phpt/getGiftByPoint.phpx',p)
//解说购买记录
export const readFamousRecord = p =>get('/phpu/readFamousRecord.phpx',p)
//订单详情
export const phoneDetail = p =>post('/phpt/phoneDetail.phpx',p)
//充值列表
export const payList = p =>get('/discovery/client/czpay/ios/h5.json',p)

//qq支付
export const qqPay = p =>get('/phpu/addmoney.phpx',p)

//检测用户信息
export const userInfo = p =>post('/phpu/q.phpx',p)
//检测是否登录
export const checklogin = p =>get('/phpu/cl.phpx',p)

//玩法
//竞彩足球 混合玩法数据
export const wap_hh = p => get('/cpdata/match/h5/jczq_hh.json', p)
//竞彩足球 胜平负数据
export const wap_spf = p => get('/cpdata/match/h5/jczq_spf.json', p)
//竞彩足球 让球胜平负数据
export const wap_rspf = p => get('/cpdata/match/h5/jczq_rspf.json', p)
//竞彩足球 总进球数据
export const wap_jqs = p => get('/cpdata/match/h5/jczq_jqs.json', p)
//竞彩足球 总进球数据
export const wap_cbf = p => get('/cpdata/match/h5/jczq_cbf.json', p)
//竞彩足球 半全场数据
export const wap_bqc = p => get('/cpdata/match/h5/jczq_bqc.json', p)



//竞彩蓝球 胜负数据
export const jclq_sf = p => get('/cpdata/match/h5/jclq_sf.json', p)
//竞彩蓝球 大小分数据
export const jclq_dxf = p => get('/cpdata/match/h5/jclq_dxf.json', p)
//竞彩蓝球 让分胜负数据
export const jclq_rfsf = p => get('/cpdata/match/h5/jclq_rfsf.json', p)
//竞彩蓝球 胜负数据
export const jclq_sfc = p => get('/cpdata/match/h5/jclq_sfc.json', p)




//北京单场 胜平负数据
export const bd_spf = p => get('/cpdata/match/h5/bd_spf.json', p)
//北京单场 胜负过关数据
export const bd_sfgg = p => get('/cpdata/match/h5/bd_sfgg.json', p)
//北京单场 半全场数据
export const bd_bqc = p => get('/cpdata/match/h5/bd_bqc.json', p)
//北京单场 总进球数据
export const bd_jqs = p => get('/cpdata/match/h5/bd_jqs.json', p)
//北京单场 上下单双数据
export const bd_sxp = p => get('/cpdata/match/h5/bd_sxp.json', p)
//北京单场 比分数据
export const bd_cbf = p => get('/cpdata/match/h5/bd_cbf.json', p)

//对阵数据
export const new_jczq = p => get('/cpdata/match/api/new_jczq.json', p)
export const new_jclq = p => get('/cpdata/match/api/new_jclq.json', p)
export const new_bd_bqc = p => get('/cpdata/match/api/new_bd_bqc.json', p)
export const new_bd_cbf = p => get('/cpdata/match/api/new_bd_cbf.json', p)
export const new_bd_jqs = p => get('/cpdata/match/api/new_bd_jqs.json', p)
export const new_bd_spf = p => get('/cpdata/match/api/new_bd_spf.json', p)
export const new_bd_sxp = p => get('/cpdata/match/api/new_bd_sxp.json', p)

//发单称号
export const getUserTitles = p => get('/phpu/getUserTitles.phpx', p)
//jjyh_free
export const jjyh_free = p => post('/phpt/jjyh_free.phpx', p)

//跟单
//红人
export const sensationList = p => get('/cpdata/copy/webRedPersons.json', p)
//热门跟单列表
//export const hotDocmentsList = p => post('/phpt/copyJczqs.phpx', p);
//全部红人
export const allSensationList = p => get('/cpdata/copy/webRedPersonList.json', p);
//晒红单
export const showRedbillList = p => get('/cpdata/copy/webHighBonus.json', p);
//热门榜单
export const hotprofitList = p => get('/cpdata/phot/31/webHitWeekUserList.json', p);
export const hotprofitReturnList = p => get('/cpdata/phot/31/webReturnWeekUserList.json', p);

//我的战绩, 发单人详情
export const myrecord = p => post('/phpu/webfollowDetail.phpx', p);
//牛人推荐
export const recommendList = p => get('/cpdata/copy/webNiuRens.json', p);
//发单人详情
export const followDetail = p => post('/phpu/webfollowDetail.phpx', p);
//发单人详情关注列表
export const followUserDetail = p => post('/phpu/webfollowUserLists.phpx', p);
//跟单详情
export const copyDetail = p => post('/phpt/copyDetail.phpx', p);
//我的关注
export const copyFollowList = p => get('/phpu/copyMyfollow.phpx', p);
//我定制的人
export const copyAuto = p => get('/phpu/webcopyAutoLists.phpx', p);
//定制我的人
export const copyUser = p => get('/phpu/webcopyUserAutos.phpx', p);
//跟单用户
export const copyUsers = p => get('/phpt/copyUserLists.phpx', p);
//方案详情
export const guoguan = p => get('/cpdata/guoguan/70/20190826/proj/cp70150795445.json', p);
//关注
export const followCopy = p => post('/phpu/webFollowCopys.phpx', p);
//判断是否关注
export const followManage = p => post('/phpu/followManage.phpx', p);
// //webfollowUserLists
export const webfollowUserLists = p => post('/phpu/webfollowUserLists.phpx', p);
//判断是否关注
export const webCopyCast = p => post('/phpt/webCopyCast.phpx', p);

//合作彩店
export const collaborateStore = p => get('/discovery/castshop/index.json',p) 

